
// login.js
import request from '@/util/request'; // 导入 Axios 实例

export default{
    //注册
    register(data) {
        return request({
            url: '/user/register',
            method: 'post',
            data
        });
    }

}